package cnhy.salary.domain;

import cnhy.salary.domain.proxy.PostTransferProxy;
import com.easy.query.core.proxy.ProxyEntityAvailable;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import com.easy.query.core.annotation.*;
import ling.common.domain.entity.*;

 /**
 * 调换岗;
 * @author : He-LiangLiang@Outlook.com
 * @date : 2025-5-26
 */
@ApiModel(value = "调换岗",description = "")
@EntityProxy
@Table("pay_post_transfer")
@Data
public class PostTransfer extends CreatedEntity.LongId implements   ISimpleApproval, Serializable,Cloneable, ProxyEntityAvailable<PostTransfer , PostTransferProxy> {
    /**  */
    /*
    @Column(primaryKey = true)
    @ApiModelProperty(value = "",notes = "")
    private Long id ;
    */
    
    /**  */
    @ApiModelProperty(value = "",notes = "")
    private Long userId ;
     
   
    /**  */
    @ApiModelProperty(value = "",notes = "")
    @EasyWhereCondition
    private String userName ;
     
   
    /** 0调岗，1换岗 */
    @ApiModelProperty(value = "0调岗，1换岗",notes = "")
    @EasyWhereCondition(type = EasyWhereCondition.Condition.EQUAL)
    private Integer type ;
     
   
    /** 开始时间 */
    @ApiModelProperty(value = "开始时间",notes = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date begin ;
     
   
    /** 结束时间，换岗为null */
    @ApiModelProperty(value = "结束时间，换岗为null",notes = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date end ;
     
   
    /** 原班组名称 */
    @ApiModelProperty(value = "原岗位名称",notes = "")
    private String oldLv2Name ;
     
   
    /**  */
    @ApiModelProperty(value = "原岗位",notes = "")
    private Long oldLv2 ;
     
   
    /** 原产线 */
    @ApiModelProperty(value = "原产线",notes = "")
    private Long oldLv3 ;
     
   
    /**  */
    @ApiModelProperty(value = "",notes = "")
    private String oldLv3Name ;
     
   
    /** 新班组 */
    @ApiModelProperty(value = "新岗位",notes = "")
    private Long newLv2 ;
     
   
    /**  */
    @ApiModelProperty(value = "新岗位名称",notes = "")
    private String newLv2Name ;
     
   
    /** 新产线 */
    @ApiModelProperty(value = "新产线",notes = "")
    private Long newLv3 ;
     
   
    /**  */
    @ApiModelProperty(value = "",notes = "")
    private String newLv3Name ;


     @EasyWhereCondition(type = EasyWhereCondition.Condition.EQUAL)
     @ApiModelProperty(value = "",notes = "")
     private Long oldDept ;


     /**  */
     @ApiModelProperty(value = "",notes = "")
     private String oldDeptName ;


     /**  */
     @EasyWhereCondition(type = EasyWhereCondition.Condition.EQUAL)
     @ApiModelProperty(value = "",notes = "")
     private Long newDept ;


     /**  */
     @ApiModelProperty(value = "",notes = "")
     private String newDeptName;



     @EasyWhereCondition(type = EasyWhereCondition.Condition.EQUAL)
     public Integer status;


     public String approvalRecord ;
 }